﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="login.aspx.cs" Inherits="login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table style="width: 95%; height: 560px">
            <tr>
                <td style="height:100px">
                </td>
            </tr>
            <tr >
               <td style="height:164px; height: 360px " align="center" valign="top">
                   <table style="width: 500px; height: 360px" border="1" cellpadding="0" cellspacing="0">
                       <tr>
                           <td colspan=3 style="width: 500px;height: 300px" valign="bottom">
                               <img src="Img/login.jpg" /></td>    
                       </tr>
                       <tr>
                           <td style="width: 100px;height: 20px">
                               <asp:Label ID="lbUid" runat="server" Text="UID" Width="84px"></asp:Label></td>
                           <td colspan=2 style="width: 400px;height: 20px" align="left">
                               <asp:TextBox ID="tbUid" runat="server" Width="187px">admin</asp:TextBox>
                               <asp:RequiredFieldValidator ID="rfvUid" runat="server" ControlToValidate="tbUid"
                                   ErrorMessage="Uid can not be null"></asp:RequiredFieldValidator></td>
                       </tr>
                       <tr>
                           <td style="width: 100px;height: 20px">
                               <asp:Label ID="lbPwd" runat="server" Text="PASS" Width="79px"></asp:Label></td>
                           <td colspan=2 style="width: 400px;height: 20px" align="left">
                               <asp:TextBox ID="tbPwd" runat="server" Width="187px" TextMode="Password">admin</asp:TextBox>
                               <asp:RequiredFieldValidator ID="rfvPwd" runat="server" ControlToValidate="tbPwd"
                                   ErrorMessage="Pass can not be null"></asp:RequiredFieldValidator></td>
                       </tr>
                       <tr>
                           <td colspan=3 style="width: 500px;height: 20px" valign="bottom">
                               <asp:Button ID="btnLogin" runat="server" Text="Login" OnClick="btnLogin_Click" />
                               <asp:Button ID="btnCancel" runat="server" Text="Cancel" /></td>    
                       </tr>
                   </table>
                </td>
            </tr>
             <tr>
                <td style="height:100px">
                </td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>
